import { request } from '@pkg/request/src';

export enum Api {
  page = '/payway/page',
  payWayList = '/payway/list',
  get = '/payway/get',
  add = '/payway/save',
  update = '/payway/update',
  remove = '/payway/remove',
}

export const payWayList = () =>
  request.get(
    { url: Api.payWayList },
    {
      errorMessageMode: 'none',
      successMessageMode: 'none',
    },
  );
